package com.chart.chart.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chart.chart.domian.ChartConfigs;
import com.chart.chart.domian.vo.ChartConfigsInterface;
import com.chart.chart.mapper.ChartConfigsMapper;
import com.chart.chart.service.IChartConfigsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

import static com.chart.common.utils.PageUtils.startPage;

/**
 * 用户 业务层处理
 * 
 * @author ruoyi
 */
@Service
public class ChartConfigsServiceImpl extends ServiceImpl<ChartConfigsMapper, ChartConfigs> implements IChartConfigsService
{
    @Autowired
    private ChartConfigsMapper chartConfigsMapper;

    @Override
    public List<ChartConfigs> getList(ChartConfigs chartConfigs) {
//        startPage();
        List<ChartConfigs> list=chartConfigsMapper.getList(chartConfigs);
        return list;
    }

    @Override
    public List<ChartConfigs> getBriefList(Long id) {
        return chartConfigsMapper.getBriefList(id);
    }

    @Override
    public List<ChartConfigsInterface> getChartInterfaces() {
        return chartConfigsMapper.getChartInterfaces();
    }
}
